@echo off

:: 设置MySQL连接环境变量
set MYSQL_HOST=localhost
set MYSQL_PORT=3306
set MYSQL_USER=root
set MYSQL_PASSWORD=root
set MYSQL_DATABASE=community_service_platform

:: 输出配置信息
echo 正在启动MySQL MCP Server...
echo 配置信息:
echo 主机: %MYSQL_HOST%
echo 端口: %MYSQL_PORT%
echo 用户名: %MYSQL_USER%
echo 数据库: %MYSQL_DATABASE%

:: 启动MySQL MCP Server
python "C:\Users\14854\AppData\Roaming\Python\Python313\site-packages\mysql_mcp_server\server.py"

:: 暂停以便查看输出
pause